//
//  GDFutureWeatherView.m
//  GraduationDesign
//
//  Created by JiaKang.Zhong on 16/1/6.
//  Copyright © 2016年 JiaKang.Zhong. All rights reserved.
//

#import "GDFutureWeatherView.h"

@interface GDFutureWeatherView ()
@property (weak, nonatomic) IBOutlet UIImageView *fa;  // 图标一
@property (weak, nonatomic) IBOutlet UIImageView *fb;  // 图标二
@property (weak, nonatomic) IBOutlet UILabel *date;     // 日期
@property (weak, nonatomic) IBOutlet UILabel *temp;    // 温度
@property (weak, nonatomic) IBOutlet UILabel *weather;  // 天气状况

@end

@implementation GDFutureWeatherView


-(void)setFutureModel:(GDFutureWeatherModel *)futureModel{
     GDWeatherID * futureWeatherID = futureModel.weatherID_future;
    self.date.text = futureModel.date;
    self.temp.text = futureModel.temperature;
    self.weather.text = futureModel.weather_future;
    self.fa.image = [UIImage imageNamed:futureWeatherID.fa];
    self.fb.image = [UIImage imageNamed:futureWeatherID.fb];
    GDLog(@"%@ %@",futureWeatherID.fa,futureWeatherID.fb);
}

@end
